package com.letoken.platform.repo.admin.res.config;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "查询版本更新返回对象", description = "查询版本更新返回对象")
public class QueryVersionRes {

    @ApiModelProperty(name = "id",value = "编号")
    private Integer id;

    @ApiModelProperty(name = "client",value = "客户端：1：Android，2：IOS")
    private Integer client;

    @ApiModelProperty(name = "currentVersion",value = "当前版本(版本号)")
    private String currentVersion;

    @ApiModelProperty(name = "versionInfo",value = "版本信息(更新内容)")
    private String versionInfo;

    @ApiModelProperty(name = "versionTitle",value = "更新标题")
    private String versionTitle;

    @ApiModelProperty(name = "marketDownloadLink",value = "应用市场下载链接")
    private String marketDownloadLink;

    @ApiModelProperty(name = "isForcedUpgrade",value = "是否强制升级 0不强制，1：强制")
    private Boolean isForcedUpgrade;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime",value = "更新日期")
    private LocalDateTime createTime;



}
